import { createRouter, createWebHistory } from 'vue-router'
import HomeView from './views/HomeView.vue'
import BlogView from './views/BlogView.vue'
import NoteView from './views/NoteView.vue'
import PhotographView from './views/PhotographView.vue'
import ProjectView from './views/ProjectView.vue'
import ResumeView from './views/ResumeView.vue'
import WorksView from './views/WorksView.vue'

const routes = [
  { path: '/', name: 'home', component: HomeView },
  { path: '/blog', name: 'blog', component: BlogView },
  { path: '/note', name: 'note', component: NoteView },
  { path: '/photograph', name: 'photograph', component: PhotographView },
  { path: '/project', name: 'project', component: ProjectView },
  { path: '/resume', name: 'resume', component: ResumeView },
  { path: '/works', name: 'works', component: WorksView },
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
